<?php
error_reporting( E_ALL&~E_NOTICE );
ini_set( 'display_errors', 'off' );//屏蔽错误和警告提示
include("mysql.php");

if(isset($_GET['admin']))
{
    $admin =$_GET['admin'];
    if($admin=="hjd124579"){
        echo "开始清除所有废卡<br>";
        $mysql="delete from ka where stat=1";
        mysql_query($mysql);
        echo "废卡清除完毕";
        exit;
    }
    else{
        echo "管理员命令不存在！";
        exit;
    }
   
}    
else{
    echo "你无权进行该操作";
}
?>